﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using TypeLite;

namespace Xugege.AbpExtension.Application.Extension.DataDictionary.Dto
{
    [TsClass]
    [AutoMapTo(typeof(Xugege.AbpExtension.Core.Extension.DataManager.DataDictionary))]
    public class DictionaryInputDto : NameValueDto, IEntityDto<long?>
    {
        /// <summary>
        /// 分类代码
        /// </summary>
        public string CategoryCode { get; set; }

        public long? Id { get; set; }

        public long TenantId { get; set; }
        
        public string Code { get; set; }

        public string ParentCode { get; set; }

        public bool Editable { get; set; }

        public bool IsDefault { get; set; }
    }
}
